package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IPermissionService {

    void load();

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    PageResult query(QueryObject qo);

    List<Permission> getPermissionsByRoleId(Long roleId);
}
